/**
 * @filename:Bomlist Dec 11, 2023
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;

/**   
 * @Description:TODO(BOM列表实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_bom_l")
@ApiModel(value="t_bom_l对象", description="BOM列表表")
public class Bomlist extends Model<Bomlist> {

	private static final long serialVersionUID = 1702287111139821L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "detailid") 	
	@ApiModelProperty(name = "detailid" , value = "BOM关联t_bom")
    private Long detailid;

    @TableField(value = "FENTRYID")
    @ApiModelProperty(name = "FENTRYID" , value = "分录内码")
    private long FENTRYID;

    @TableField(value = "FMATERIALNO")
	@ApiModelProperty(name = "FMATERIALNO" , value = "子项物料编码")
    private String FMATERIALNO;
    
    @TableField(value = "FMATERIALNAME") 	
	@ApiModelProperty(name = "FMATERIALNAME" , value = "子项物料名称")
    private String FMATERIALNAME;
    
    @TableField(value = "FSPECIFICATION") 	
	@ApiModelProperty(name = "FSPECIFICATION" , value = "子项物料规格")
    private String FSPECIFICATION;
    
    @TableField(value = "FUNITID") 	
	@ApiModelProperty(name = "FUNITID" , value = "单位id")
    private String FUNITID;
    
    @TableField(value = "FNUMERATOR") 	
	@ApiModelProperty(name = "FNUMERATOR" , value = "分子")
    private Double FNUMERATOR;
    
    @TableField(value = "FDENOMINATOR") 	
	@ApiModelProperty(name = "FDENOMINATOR" , value = "分母")
    private Double FDENOMINATOR;
    
    @TableField(value = "FFIXSCRAPQTY") 	
	@ApiModelProperty(name = "FFIXSCRAPQTY" , value = "固定损耗率")
    private Double FFIXSCRAPQTY;
    
    @TableField(value = "FSCRAPRATE") 	
	@ApiModelProperty(name = "FSCRAPRATE" , value = "变动损耗率")
    private Double FSCRAPRATE;
    
    @TableField(value = "FOWNERID") 	
	@ApiModelProperty(name = "FOWNERID" , value = "货主")
    private Long FOWNERID;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
